package com.example.arithmeticleetcode.learnArithmetic.priority.queue.heap;

/**
 * @program: arithmetic-leetcode
 * @description:
 * @author: FangZhen
 * @create: 2020-11-02 14:14
 **/
public interface Heap<E> {

    int size();
    boolean isEmpty();
    void clear();
    void add(E element);
    E get();
    E remove();
    E replace(E element);
}
